package com.microservices.cloud.service;

import com.microservices.cloud.entity.Order;

public interface OrderService {


    /**
     * 创建订单
     *
     * @param order
     * @return
     */
    Integer insertOrder(Order order);


    /**
     * 更新订单状态
     *
     * @param userId
     * @param status
     * @return
     */
    Integer updateOrder(Long userId, Integer status);

}
